/* ============================================================
           STATS STRIP
        ============================================================ */
#stats-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

.stat-item {
    text-align: center;
    padding: 8px 16px;
}

    .stat-item .stat-val {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 900;
        color: var(--primary);
        line-height: 1;
        margin-bottom: 4px;
    }

    .stat-item .stat-lbl {
        font-size: .85rem;
        color: var(--muted);
        font-weight: 500;
    }

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 8px 0;
}
/* ============================================================
           WHAT IS ERP
        ============================================================ */
/* "Why ERP" info panel */
.erp-info-panel {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .erp-info-panel::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: var(--primary);
        opacity: .12;
        filter: blur(60px);
    }

.erp-info-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

    .erp-info-point:last-child {
        margin-bottom: 0;
    }

    .erp-info-point .ep-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        flex-shrink: 0;
        background: rgba(249,92,51,.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: var(--primary);
        margin-top: 2px;
    }

    .erp-info-point h6 {
        font-size: .95rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 3px;
    }

    .erp-info-point p {
        font-size: .85rem;
        color: rgba(255,255,255,.55);
        margin: 0;
        line-height: 1.6;
    }
/* ============================================================
           WHY BSNSWORLD (TRUST / FEATURES)
        ============================================================ */
/* "Why us" split panel */
.why-us-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-highlight-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

    .why-highlight-row:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-3px);
        border-color: var(--primary);
    }

    .why-highlight-row .wh-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: var(--primary-light);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--primary);
    }

    .why-highlight-row h6 {
        font-size: .95rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 2px;
    }

    .why-highlight-row p {
        font-size: .82rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
    }

/* accent step (last one — ongoing support) */
.process-step-accent .process-node {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 28px rgba(249,92,51,.30);
}

.process-step-accent .process-card {
    background: linear-gradient(135deg, var(--primary) 0%, #c94120 100%);
    border-color: transparent;
    color: #fff;
}

    .process-step-accent .process-card h5 {
        color: #fff;
    }

    .process-step-accent .process-card p {
        color: rgba(255,255,255,.78);
    }

.process-step-accent:hover .process-node {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(249,92,51,.45);
}

.process-step-accent:hover .process-card {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}
/* ============================================================
       ERP APPS HIGHLIGHT
    ============================================================ */
#erp-apps-highlight {
    position: relative;
    overflow: hidden;
}
/* Screen mockup inside apps section */
.apps-screen-wrap {
    position: relative;
}

.apps-device-frame {
    background: var(--dark);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 28px 70px rgba(15,23,42,.3);
    border: 1px solid rgba(255,255,255,.06);
}

.apps-device-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 0 4px;
}

    .apps-device-topbar span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
    }

.apps-screen-inner {
    background: var(--dark-2);
    border-radius: 10px;
    padding: 14px;
}

.apps-screen-title {
    font-size: .65rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 10px;
}

.apps-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.apps-metric {
    background: rgba(255,255,255,.06);
    border-radius: 8px;
    padding: 10px 10px;
    text-align: center;
}

.apps-metric-val {
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.apps-metric-lbl {
    font-size: .58rem;
    color: rgba(255,255,255,.4);
    margin-top: 3px;
}

.apps-chart-mini {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 42px;
    margin-bottom: 10px;
    background: rgba(255,255,255,.04);
    border-radius: 7px;
    padding: 7px;
}

.apps-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--accent));
    border-radius: 2px 2px 0 0;
    opacity: .75;
}

.apps-notif-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,92,51,.12);
    border-radius: 7px;
    padding: 8px 10px;
    border-left: 2px solid var(--primary);
}

    .apps-notif-row i {
        color: var(--primary);
        font-size: .85rem;
        flex-shrink: 0;
    }

    .apps-notif-row span {
        font-size: .62rem;
        color: rgba(255,255,255,.7);
    }

/* floating device badges */
.apps-badge-float {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(15,23,42,.18);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}

    .apps-badge-float i {
        font-size: 1.1rem;
    }

.apps-badge-1 {
    top: 20px;
    right: -18px;
}

.apps-badge-2 {
    bottom: -27px;
    left: -18px;
}

/* device icon row */
.device-icon-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.device-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid rgba(249,92,51,.15);
}
/* ============================================================
   RTL OVERRIDES — Arabic layout (indexAr.css)
   Direction & mirroring overrides for index.css
   ============================================================ */

/* ============================================================
   STATS STRIP
   ============================================================ */
[dir="rtl"] .stat-item {
    text-align: center;
}

    [dir="rtl"] .stat-item .stat-val,
    [dir="rtl"] .stat-item .stat-lbl {
        text-align: center;
    }

/* ============================================================
   WHAT IS ERP — info panel
   ============================================================ */
[dir="rtl"] .erp-info-panel {
    text-align: right;
}

    [dir="rtl"] .erp-info-panel::before {
        right: auto;
        left: -60px;
    }

    [dir="rtl"] .erp-info-point h6,
    [dir="rtl"] .erp-info-point p {
        text-align: right;
    }

/* ============================================================
   WHY BSNSWORLD (TRUST / FEATURES)
   ============================================================ */
    [dir="rtl"] .why-highlight-row h6,
    [dir="rtl"] .why-highlight-row p {
        text-align: right;
    }

/* ============================================================
   ERP PROCESS — timeline
   ============================================================ */
    [dir="rtl"] .process-track::before {
        left: calc(12.5% + 1px);
        right: calc(12.5% + 1px);
        background: linear-gradient(270deg, var(--primary), var(--accent));
    }

[dir="rtl"] .process-step {
    text-align: center;
}

[dir="rtl"] .process-node-num {
    right: auto;
    left: -6px;
}

[dir="rtl"] .process-card {
    text-align: right;
}

    [dir="rtl"] .process-card h5,
    [dir="rtl"] .process-card p {
        text-align: right;
    }

[dir="rtl"] .process-step-accent .process-card {
    background: linear-gradient(225deg, var(--primary) 0%, #c94120 100%);
}

/* ============================================================
   ERP APPS HIGHLIGHT
   ============================================================ */
[dir="rtl"] .apps-screen-wrap {
    direction: ltr;
}

[dir="rtl"] .apps-screen-title {
    text-align: right;
    letter-spacing: 0;
}

[dir="rtl"] .apps-metric {
    text-align: center;
}

[dir="rtl"] .apps-notif-row {
    border-left: none;
    border-right: 2px solid var(--primary);
}

[dir="rtl"] .apps-badge-1 {
    right: auto;
    left: -18px;
}

[dir="rtl"] .apps-badge-2 {
    left: auto;
    right: -18px;
}